package com.xmy.erp.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.xmy.erp.entity.Organization;
import com.xmy.erp.mapper.OrganizationMapper;
import com.xmy.erp.service.IOrganizationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 组织机构 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@Service
public class OrganizationServiceImpl extends ServiceImpl<OrganizationMapper, Organization> implements IOrganizationService {
    @Autowired
    OrganizationMapper organizationMapper;

    @Override
    public List<Long> getOrganiztionId(Wrapper wrapper){
        return  organizationMapper.getOrganiztionId(wrapper);
    }
}
